Ext.Loader.setConfig({enabled: true});	 
Ext.application({
    name: 'APP',
    appFolder: 'app',
    controllers: ['Frame','Students','Teachers'], 
    launch: function() {
				Ext.util.initPortletLayout();
				var portletWidth=Ext.util.getPortletSize().width;
				var portletHeight=Ext.util.getPortletSize().height;
				Ext.create('Ext.panel.Panel', {
			    width: portletWidth,
			    height: portletHeight,
			    renderTo: 'portlet',
			    items: [{
			        width: portletWidth,
			    	height: portletHeight*3/20,
			    	xtype:'header'
			    },{
			        height: portletHeight*16/20,
			        width: portletWidth,
			    	xtype:'context'
			    },
			    {
			        width: portletWidth,
			    	height: portletHeight/20,
			    	xtype:'tail'
			    }
			    ]
			});
    }
});
